from flask_migrate import Migrate,MigrateCommand
from flask_script import Manager
from exts import db
from movie import app
from apps.front.models import FrontUser

manager = Manager(app)
migrate = Migrate(app,db,compare_type=True)
manager.add_command('db',MigrateCommand)

if __name__ == '__main__':
    manager.run()

